var data = [{
  titles: [
    {
      value: '手机',
      link: '#'
    },
    {
      value: '运营商',
      link: '#'
    },
    {
      value: '数码',
      link: '#'
    }
  ],
  channel:[
    {
      value: '玩3C',
      link: '#'
    },
    {
      value: '玩4C',
      link: '#'
    },
    {
      value: '玩5C',
      link: '#'
    }
  ],
  content: [
    {
      value: '电视',
      link: '#',
      detail: [
        {
          value: '液晶电视',
          link: '#'
        },
        {
          value: '液晶电视',
          link: '#'
        }
      ]
    }
  ]
}]

Mock.mock('/menu',{
  'data|18': [{
    'titles|1-3': [{
        value: '@cword(2,4)',
        link: '@url(http)'
      }],
     'channel|4-10': [{
        value: '@cword(2,4)',
        link: '@url(http)'
     }],
     'content|8-12':[{
      value: '@cword(2,4)',
      link: '@url(http)',
      'detail|12-18': [{
        value: '@cword(2,4)',
        link: '@url(http)',
      }]
     }]
  }]
});